Unrestricted Imports ^^^^^ **Definition:** * A module imports more from another module than needed. **Code Example:** .. code-block:: ruby module Foo { group groupConstants { const charstr ing FOO CONST := " foo " ; // some other constants . . . } group groupTypes { // type definitions . . . } group groupComponents { // component definitions . . . } } module Baz { import from Foo all; function f ( in charstring s ) return boolean { if (FOO_CONST == s ) { return true; } return false; } } **References:** .. admonition:: Quality attributes * :octicon:`file-code;1em` - Code Example * :octicon:`comment-discussion;1em` - Cause and Effect * :octicon:`graph;1em` - Frequency * :octicon:`sync;1em` - Refactoring * `An approach to quality engineering of TTCN-3 test specifications `_ * `Pattern-based Smell Detection in TTCN-3 Test Suites `_ :octicon:`file-code;1em` :octicon:`comment-discussion;1em` :octicon:`sync;1em` * `Utilising Code Smells to Detect Quality Problems in TTCN-3 Test Suites `_